<template>
  <el-row>
    <el-col :span="24">
      <el-menu
          default-active="2">
        <el-submenu index="1">
          <template slot="title">
            <i class="el-icon-location"></i>
            <router-link to="/helloworld">helloword</router-link>
          </template>
        </el-submenu>
        <el-submenu index="2">
          <template slot="title">
            <i class="el-icon-location"></i>
            <router-link to="/jia">算术</router-link>
          </template>
        </el-submenu>
        <el-submenu index="3">
          <template slot="title">
            <i class="el-icon-location"></i>
            <router-link to="/suanfa">算法</router-link>
          </template>
        </el-submenu>
        <el-submenu index="3">
          <template slot="title">
            <i class="el-icon-location"></i>
            <router-link to="/biao">表格</router-link>
          </template>
        </el-submenu>
        <el-submenu index="4">
          <template slot="title">
            <i class="el-icon-location"></i>
            <router-link to="/db">数据库查询</router-link>
          </template>
        </el-submenu>
      </el-menu>
    </el-col>
  </el-row>
</template>

<script>

export default {
  name: 'theAsider',
  data() {
    return {}
  },
  methods: {}
}
</script>